package com.wing.system.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import com.wing.system.model.entity.DingTalkAttendance;
import com.wing.system.model.response.DingTalkAttendanceVO;

import java.util.Map;


/**
 *
 *
 * @author
 */
public interface DingTalkAttendanceService extends IService<DingTalkAttendance> {


    /**
     * 同步钉钉相关考勤班次情况列表信息
     */
    void syncDingAttendanceToSystem(String beginTime,String endTime) throws Exception;


    Page<DingTalkAttendanceVO> selDingTalkAttendanceInfo(Page<DingTalkAttendanceVO> pg, Map map);

    /**
     * 同步钉钉班次信息到本地
     * @throws Exception
     */
    void syncDingAttendanceBanCiSystem() throws Exception;

    /**
     * 获取排班考勤相关每月信息
     * @param pg
     * @param map
     * @return
     */
    Page<DingTalkAttendanceVO> selDingTalkAttendancePaiBanInfo(Page<DingTalkAttendanceVO> pg, Map map);



}
